package com.bilibili.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bilibili.dao.AuthRoleElementOperationMapper;
import com.bilibili.dao.AuthRoleMapper;
import com.bilibili.dao.AuthRoleMenuMapper;
import com.bilibili.domain.entity.AuthRole;
import com.bilibili.domain.entity.AuthRoleElementOperation;
import com.bilibili.service.AuthRoleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Set;

/**
* @author www
* @description 针对表【t_auth_role(权限控制--角色表)】的数据库操作Service实现
* @createDate 2024-06-10 16:40:07
*/
@Service
public class AuthRoleServiceImpl extends ServiceImpl<AuthRoleMapper, AuthRole>
    implements AuthRoleService {
    @Resource
    private AuthRoleElementOperationMapper authRoleElementOperationMapper;
    @Resource
    private AuthRoleMenuMapper authRoleMenuMapper;

    @Override
    public List<AuthRoleElementOperation> getRoleElementOperationByRoleIds(Set<Long> roleIdSet) {
        return authRoleElementOperationMapper.getRoleElementOperation(roleIdSet);
    }

}




